package Java练习.判断;

import java.util.Scanner;

public class If1_practice {
    public static void main(String[] args) {
        //if的第一种格式练习
        boolean islighGreen=false;
        boolean islighred=false;
        boolean islighyellow=true;
        if (islighGreen){
            System.out.println("gogogo");
        }
        if (islighred){
            System.out.println("stop");
        }
        if (islighyellow){
            System.out.println("slow");
        }
    }

}
